package com.shixun.milktea.service;

import com.shixun.milktea.entity.Swiper;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zrs
 * @since 2022-06-12
 */
public interface SwiperService extends IService<Swiper> {
    /**
     * 上架
     * @param swiperId
     * @return
     * @throws Exception
     */
    int updateSwiperStatusUp(int swiperId)throws Exception;

    /**
     * 下架
     * @param swiperId
     * @return
     * @throws Exception
     */
    int updateSwiperStatusDown(int swiperId)throws Exception;

}
